Microsoft Excel Lookup Wizard

Simply click on the links below to jump to a particular topic:


Overview

As part of the Microsoft Excel development team's ongoing commitment to making the product easier to use and in response to user input, we present the Lookup Wizard. The Lookup Wizard is the first in a series of add-on Wizards being made available to enhance your use of Microsoft Excel. The Lookup Wizard helps you to write formulas that find the value at the intersection of a column and a row in a rectangular range of cells on a worksheet.

For example, if you have a large stock price table with a column for each company and a row of prices for each day over several months, you might want to look up the price of a particular company's stock on a particular day. With the Lookup Wizard, you answer questions about what company you want to look up and what date you're interested in, and the Wizard creates a formula to give you the price.


Example:

(Note: To get rich color background, use the Microsoft Internet Explorer version 2.0)

Comp A Comp BComp C Comp DComp E Comp FComp G
8/1/95 99.4570 43.592 20.2543.65 49.13
8/3/95 10050.5 4490.12 19.643 48.5
8/5/95 103.553.25 4391.5 2043.45 48
8/7/95 102.1255 43.1293.5 20.7543 47.5
8/9/95 101.553.25 43.7595.75 20.2542.3 48.13
8/11/95 100.7550.2 44.1295.12 20.541 49
8/13/95 101.2548.75 44.593.25 19.840.75 48
8/15/95 101.7548 44.1294 19.442.25 48.75
8/17/95 100.2550 43.7594.5 2040.75 49


The result for Comp D on 8/7/95 is 93.5

Comp D8/7/95 93.5

The formula the Lookup Wizard creates is: =VLOOKUP(K16,$B$17:$I$25,MATCH(J16,$B$16:$I$16,))

The Wizard can work with approximate dates, and can even create formulas that let you look up other prices by typing different dates or companies in adjacent cells. You can use the Lookup Wizard whenever you have a list or table of data on a worksheet and want to find specific values in the table. The Wizard takes care of all the details of creating the formulas for you.


System Requirements

The Lookup Wizard can be used with the following Microsoft Excel versions:


Installation and Use

The Lookup Wizard add-in file, LOOKUP.XLA, should reside in the Microsoft Excel Library directory. The path to this directory is different depending on which version of Excel you are running.

For standalone Excel 5.0, you will find the LIBRARY directory directly under the EXCEL directory (for example, C:\EXCEL\LIBRARY on a Windows system or Hard Disk:Microsoft Excel 5.0:MACRO LIBRARY on a Macintosh).

For MS Office and Excel 7.0, you will find the LIBRARY directory under the MSOFFICE and EXCEL directories (for example, C:\MSOFFICE\EXCEL\LIBRARY).

To Install and Use the Lookup Wizard

  1. Copy LOOKUP.XLA to the Microsoft Excel Library Directory.
  2. Run Microsoft Excel.
  3. On the Tools menu, select Add-Ins.
  4. Check the Lookup Wizard checkbox.
  5. Click OK.
  6. Open the workbook that contains the data you want to look up.
  7. Select a cell within the data.
  8. On the Tools menu, select Lookup Wizard.

Updates

The Microsoft Excel team plans to update this and other wizards on a regular basis. We will make them available in the following ways:


© 1995 Microsoft Corporation. All rights reserved. Microsoft, Microsoft Excel, Microsoft Office, Windows, Windows NT, Windows 95, Microsoft Network, and Microsoft TechNet are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

Return to the Microsoft Home Page